package artid.com.arttogoa.parser;

import java.io.Serializable;

import org.json.JSONObject;

public class CategoryList extends AppItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String id;
	String title;
	String pid;


	@Override
	public void parse(JSONObject obj) {
		if (null == obj) {
			return;
		}
		id = obj.optString("id");
		title = obj.optString("title");
		pid = obj.optString("pid");

	}


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public String getPid() {
		return pid;
	}


	public void setPid(String pid) {
		this.pid = pid;
	}



	

}
